#ifndef RTC_H
#define RTC_H

#include "Arduino.h"
#include <ESP32Time.h>
extern ESP32Time rtc;

typedef struct
{
    unsigned char year;
    unsigned char month;
    unsigned char date;
    unsigned char day; 
	unsigned char hour;
    unsigned char min;
    unsigned char sec;        
}RTC_Type;

extern RTC_Type RTC_Time;

#endif
